<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="content-type" content="text/html; charset=<?php echo $this->config->item('charset'); ?>" />
<title>标签管理</title>
<link rel="shortcut icon" href="" />
<link rel="stylesheet" type="text/css" media="all" href="<?php echo $this->config->item('style_css');?>" />
<script type="text/javascript" src=""></script>
</head>
<body>
	<div id = "main">
		<div id = "taxonomy_left">
			<div id = "tag_list">
			<?php
				$output = "";
				foreach($tag_list as $tag){
					$output .= '<span>';
					$output .= anchor(site_url('blog/tag/edit/'.$tag['tid']), $tag['name'], array('title'=>'文章'.$tag['count'].'篇'));
					$output .= anchor(site_url('blog/tag/del/'.$tag['tid']), 'x',array('id'=>'tag_del'));
					$output .='</span>';					
				}
				echo $output;
			?>	
			</div>
		</div>
		<div id = "taxonomy_right">
		<?php echo $tag_form;?>
		<?php echo validation_errors(); ?>
		</div>		
	</div>
</body>